package cate.game.pvp.gradepvp.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBGradePvp;
import cate.game.play.part.PlaySide;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "段位赛匹配结果 の 返回")
public class GradePvpMatchResp implements MsgOutput {
    @NoteField(value = "匹配到的玩家剧本")
    public PlaySide ps;

    @NoteField(value = "匹配到的玩家星级")
    public int star;

    @NoteField(value = "匹配成功的时间")
    public long matchTime;

    public GradePvpMatchResp() {

    }

    public GradePvpMatchResp(PlaySide ps, int star, long matchTime) {
        this.ps = ps;
        this.star = star;
        this.matchTime = matchTime;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBGradePvp.MATCH_RESP;
    }
}
